package cn.pet.service.manage.service;

import cn.pet.service.manage.entity.PetOrder;
import cn.pet.service.manage.entity.dto.OrderSearch;
import cn.pet.service.manage.entity.vo.OrderList;
import cn.pet.service.manage.entity.vo.OrderVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author 
 * @since 2023-02-11
 */
public interface PetOrderService extends IService<PetOrder> {

    OrderVO detailById(String id);

    List<OrderList> listByPage(OrderSearch search);


    List<OrderList> listByUserId(OrderSearch search);
}
